gl: Use the appropriate format on GLES
authorEmmanuele Bassi <ebassi@gnome.org>
Sat, 23 Apr 2016 09:21:13 +0000 (10:21 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 25 Apr 2016 11:29:36 +0000 (12:29 +0100)
commit5b03cf175a40a52034612245b288352019d79843
tree7a81db9d65f381ebee955ccff86013c3a882ae04
parent1620b7bda7affde3f57764ee353cd59e6619ba46
gl: Use the appropriate format on GLES

When uploading a Cairo image surface to a GL texture we cannot use
GL_BGRA and GL_UNSIGNED_INT_8_8_8_8_REV on OpenGL ES, as they do not
exist in the core spec.
gdk/gdkglcontext.c